@charset "UTF-8";
.wflow-form {
  margin: 0;
  min-width: 500px;
  height: 100%;
  background-color: #f5f6f6;
}
.wflow-form ul {
  padding: 0;
  margin: 0;

  li {
    list-style-type: none;
  }
}

.ov-tip {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.item-desc {
  font-size: small;
  color: #5e5e5e;
}

.max-fill {
  width: 100% !important;
}
.choose {
  border: 1px dashed #1890ff !important;
}
.process-form /deep/ .el-form-item__label {
  padding: 0 0;
}
.components-nav {
  box-sizing: content-box;
  display: flex;
  align-items: center;
  margin: 12px 12px 0;
  height: 28px;
  box-shadow: 0 2px 4px 0 rgba(17, 31, 44, 0.04);
  border: 1px solid #ecedef;
  border-radius: 16px;
  background-color: #fff;
}
.components-nav .selected {
  color: #1890ff;
}
.components-nav .border {
  border-left: 1px solid #f5f6f6;
  border-right: 1px solid #f5f6f6;
}

.components-nav span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 12px;
  color: rgba(17, 31, 44, 0.72);
  cursor: pointer;
}
.components-nav span:hover {
  color: #1890ff;
}

.components {
  overflow-x: hidden;
  overflow-y: scroll;
  /* margin-top: 20px; */
  /* padding: 0 20px; */
  font-size: 12px;
  width: 100%;
  color: rgba(17, 31, 44, 0.85);
}
.components > p {
  padding: 0 20px;
}
.components .drag {
  margin-left: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.components .drag li {
  text-align: center;
  display: flex;
  align-items: center;
  width: 124px;
  height: 38px;
  margin-bottom: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: grab;
  background-color: #fff;
}
.components .drag li:hover {
  border: 1px solid #1890ff;

  color: #1890ff;
}
.components .drag li i {
  margin: 0 12px;
}
.components .drag li:nth-child(odd) {
  margin-right: 8px;
}

/deep/ .el-main {
  padding: 0;
}

.layout-main {
  background-color: #feffff;
}
.layout-main .tool-nav {
  font-size: medium;
  padding: 8px 20px;
  background: #fafafb;
  border-bottom: 1px solid #ebecee;
}
.layout-main .tool-nav div:first-child {
  display: inline-block;
  text-align: left;
}
.layout-main .tool-nav div:first-child i {
  margin-right: 10px;
}
.layout-main .tool-nav div:last-child {
  float: right;
}
.layout-main .tool-nav div:last-child i {
  margin-left: 10px;
}
.layout-main .tool-nav i {
  color: #7a7a7a;
  cursor: pointer;
}
.layout-main .tool-nav i:hover {
  color: #4b4b4b;
}
.layout-main .work-form {
  margin: 0 auto;
  height: 100%;
  background: rgb(245, 246, 246);
}
.layout-main .work-form .mobile {
  margin-left: auto;
  margin-right: auto;
  width: 360px;
  height: auto;
  border-radius: 24px;
}
.layout-main .work-form .mobile .mobile-background {
  /* margin: 20px 0; */
  /* padding: 50px 13px; */
  width: 360px;
  background: url(../../assets/phone-background.png) no-repeat center;
  height: 780px;
  background-size: 360px;
  overflow: hidden;
}
.mobile-title{
  margin-top:70px;
  height: 32px;
  line-height: 32px;
  text-align: center;
}
.layout-main .work-form .mobile .mobile-background .form-content {
  margin:0 auto;
  width: calc(100% - 26px);
  max-height: calc(640px - 32px);
  border-radius: 14px;
  background-color: #f2f4f5;
}
.layout-main .work-form .mobile .mobile-background .form-content .drag-from {
  width: 100%;
  height: calc(100vh - 190px);
  min-height: 200px;
  max-height: 600px;
}
.layout-main .work-form .mobile .mobile-background .form-content .form {
  overflow-y: auto;
  width: 100%;
  display: inline-block;
}
.layout-main .work-form .mobile .mobile-background .form-content .form .form-item{
  border: 1px solid #ffffff;
  list-style: none;
  background: #ffffff;
  padding: 10px;
  margin: 4px 0;
  cursor: grab;
}
.layout-main .work-form .tip {
  /* float: left; */
  margin: 0 auto;
  width: 65%;
  max-width: 400px;
  padding: 35px 20px;
  border-radius: 10px;
  border: 1px dashed rgba(25, 31, 37, 0.4);
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
  color: rgb(122, 122, 122);
  z-index: 9999;
}
.layout-main .work-form .tip:hover {
  border: 1px dashed #1890ff;
}

.layout-param {
  text-align: center;
  font-size: 14px;
  color: rgb(122, 122, 122);
}
.layout-param > .save-template-button{
  margin: 16px auto;
}
.layout-param .tool-nav-r {
  text-align: left;
  font-size: small;
  padding: 10px 20px;
  background: #fafafb;
  border: 1px solid #ebecee;
}

.layout-param .tip {
  margin-top: 150px;
}

.flip-list-move {
  transition: transform 0.5s;
}

.no-move {
  transition: transform 0s;
}

.select {
  color: #4b4b4b !important;
}

.form-header {
  font-size: small;
  color: #818181;
  text-align: left;
  position: relative;
  background-color: #fff;
}
.form-header p {
  position: relative;
  margin: 0 0 10px 0;
}
.form-header p span {
  position: absolute;
  left: -8px;
  top: 3px;
  color: rgb(217, 0, 19);
}
.form-header .option {
  position: absolute;
  top: -10px;
  right: -10px;
}
.form-header .option i {
  font-size: large;
  cursor: pointer;
  color: #8c8c8c;
  padding: 5px;
}
.form-header .option i:hover {
  color: #f56c6c;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background-color: #f8f8f8;
}

::-webkit-scrollbar-thumb {
  border-radius: 16px;
  background-color: #e8e8e8;
}
